@charset "UTF-8";
* {
  padding: 0;
  margin: 0;
}

ul li {
  list-style: none;
}

/****************导航头部*****************/
#header {
  background-color: #ffe300;
}

#header > div {
  width: 1380px;
  margin: auto;
  height: 56px;
  position: relative;
  text-align: center;
}

#header > div .logo {
  position: absolute;
  top: 18px;
  left: 0px;
}

#header > div .logo img {
  width: 120px;
  height: 20px;
  display: block;
}

#header > div .nav {
  display: inline-block;
}

#header > div .nav > li {
  float: left;
  position: relative;
}

#header > div .nav > li a {
  text-decoration: none;
  color: #282828;
  height: 56px;
  line-height: 56px;
  padding-left: 24px;
  padding-right: 24px;
  display: inline-block;
}

#header > div .nav > li a:hover {
  background-color: #282828;
  color: #ffe300;
}

#header > div .nav > li:hover .list-box {
  display: block;
}

#header > div .nav > li .list-box {
  height: 143.4px;
  position: absolute;
  z-index: 2;
  display: none;
}

#header > div .nav > li .list-box ul {
  overflow: hidden;
  width: 630px;
  background-color: white;
  padding: 11px 17px 17px 17px;
  border-bottom: 1px solid #eaeaea;
}

#header > div .nav > li .list-box ul li {
  float: left;
  width: 90px;
  height: 28px;
  position: relative;
  margin-top: 4px;
}

#header > div .nav > li .list-box ul li a {
  border-radius: 4px;
  min-width: 42px;
  padding: 0px 7px;
  height: 28px;
  line-height: 28px;
  font-size: 14px;
  color: #444;
}

#header > div .nav > li .list-box ul li a:hover {
  background-color: #ffe300;
}

#header > div .nav > li .list-box ul li i {
  font-style: normal;
  width: 1px;
  height: 14px;
  background-color: #ddd;
  position: absolute;
  display: inline-block;
  right: 0px;
  top: 7px;
}

#header > div .nav > li .list-box p {
  position: absolute;
  height: 51.4px;
  width: 664px;
  background-color: white;
}

#header > div .nav > li .list-box p a {
  margin-right: 40px;
  color: #444;
  padding-right: 15px;
  background: url(../images/gengduojiantou.svg) right no-repeat;
  background-size: 10px 10px;
  text-align: left;
  float: left;
}

#header > div .nav > li .list-box p a:hover {
  color: #d36f16;
  background-image: url(../images/gengduojiantou2.svg);
  background-size: 10px 10px;
}

/****************轮播图*****************/
.swiper-container {
  width: 1130px;
  height: 286px;
  padding-top: 20px;
  padding-bottom: 24px;
}

#case {
  margin: auto;
  width: 1130px;
  overflow: hidden;
  margin-bottom: 50px;
}

#case img {
  width: 210px;
  height: 168px;
  float: left;
  margin-right: 20px;
  border-radius: 5px;
}

#case img:nth-of-type(5) {
  margin-right: 0px;
}

#recommend {
  background-color: white;
  width: 100%;
}

#recommend ul {
  display: flex;
  justify-content: center;
}

#recommend ul li {
  padding: 0px 30px 0px 30px;
}

#recommend ul li a {
  text-decoration: none;
  color: #999;
  font-size: 16px;
  height: 56px;
  line-height: 56px;
  padding: 19px 0px 19px 0px;
}

#recommend ul li .active {
  border-bottom: 2px solid #444;
  color: #282828;
}

#main {
  background-color: #f4f4f4;
  overflow: hidden;
}

#main div:nth-of-type(1) {
  width: 1130px;
  margin: auto;
  overflow: hidden;
}

#main div:nth-of-type(1) .list {
  width: 210px;
  height: 308px;
  margin-right: 20px;
  margin-top: 20px;
  float: left;
}

#main div:nth-of-type(1) .list img {
  width: 210px;
  height: 158px;
  display: block;
}

#main div:nth-of-type(1) .list div:nth-of-type(1) {
  background-color: white;
  width: 178px;
  height: 75px;
  padding: 11px 16px 13px 16px;
  border-bottom: 1px solid #eee;
}

#main div:nth-of-type(1) .list div:nth-of-type(1) p:nth-of-type(1) {
  color: #333;
  font-size: 14px;
  height: 20px;
  line-height: 20px;
}

#main div:nth-of-type(1) .list div:nth-of-type(1) p:nth-of-type(2) {
  color: #bbb;
  font-size: 12px;
  height: 18px;
  line-height: 18px;
  margin-bottom: 17px;
}

#main div:nth-of-type(1) .list div:nth-of-type(1) span:nth-of-type(1) {
  font-size: 12px;
  color: #bbb;
  vertical-align: top;
  margin-right: 10px;
}

#main div:nth-of-type(1) .list div:nth-of-type(1) span:nth-of-type(1) i {
  background: url(../images/card-liulan.svg) 0 4px no-repeat;
  background-size: 16px auto;
  display: inline-block;
  width: 16px;
  height: 16px;
  vertical-align: top;
  margin-right: 5px;
}

#main div:nth-of-type(1) .list div:nth-of-type(1) span:nth-of-type(2) {
  font-size: 12px;
  color: #bbb;
  vertical-align: top;
  margin-right: 10px;
}

#main div:nth-of-type(1) .list div:nth-of-type(1) span:nth-of-type(2) i {
  background: url(../images/card-pinglun.svg) 0 2px no-repeat;
  background-size: 16px auto;
  display: inline-block;
  width: 16px;
  height: 16px;
  vertical-align: top;
  margin-right: 5px;
}

#main div:nth-of-type(1) .list div:nth-of-type(1) span:nth-of-type(3) {
  font-size: 12px;
  color: #bbb;
  vertical-align: top;
  margin-right: 10px;
}

#main div:nth-of-type(1) .list div:nth-of-type(1) span:nth-of-type(3) i {
  background: url(../images/card-zan.svg) no-repeat;
  background-size: 16px auto;
  display: inline-block;
  width: 16px;
  height: 16px;
  vertical-align: top;
  margin-right: 5px;
}

#main div:nth-of-type(1) .list div:nth-of-type(2) {
  overflow: hidden;
  height: 50px;
  background-color: white;
}

#main div:nth-of-type(1) .list div:nth-of-type(2) img {
  width: 24px;
  height: 24px;
  margin-right: 10px;
  border-radius: 50%;
  border: none;
  vertical-align: middle;
  margin-top: 12px;
  margin-left: 16px;
  float: left;
}

#main div:nth-of-type(1) .list div:nth-of-type(2) span:nth-of-type(1) {
  color: #333;
  font-size: 12px;
  height: 24px;
  line-height: 24px;
  vertical-align: middle;
  white-space: nowrap;
  float: left;
  margin-top: 12px;
  margin-left: 16px;
}

#main div:nth-of-type(1) .list div:nth-of-type(2) span:nth-of-type(2) {
  color: #bbb;
  font-size: 12px;
  height: 24px;
  line-height: 24px;
  vertical-align: middle;
  float: right;
  margin-top: 12px;
  margin-left: 16px;
}

#main div:nth-of-type(1) .list:nth-of-type(5n) {
  margin-right: 0px;
}

#main .paging {
  text-align: center;
  margin-top: 20px;
  margin-bottom: 20px;
}

#main .paging button {
  color: #999;
  box-sizing: border-box;
  width: 40px;
  height: 40px;
  margin: 0 3px;
  line-height: 38px;
  background-color: #fff;
  border: 1px solid #e9e9e9;
  font-size: 14px;
  cursor: pointer;
}

#main .advertis img {
  width: 1130px;
  height: 100px;
  display: block;
  margin: auto;
}

#main .course {
  width: 1130px;
  margin: auto;
}

#main .course p {
  margin-top: 15px;
  margin-bottom: 15px;
  overflow: hidden;
}

#main .course p span:nth-of-type(1) {
  float: left;
  color: #666;
  font-size: 14px;
  cursor: pointer;
}

#main .course p span:nth-of-type(2) {
  float: right;
  color: #d36f16;
  font-size: 14px;
  cursor: pointer;
}

#main .course dl {
  float: left;
  margin-right: 20px;
}

#main .course dl dt img {
  width: 210px;
  height: 118px;
}

#main .course dl dd {
  font-size: 14px;
  color: #282828;
  width: 200px;
  height: 40px;
  background-color: white;
  line-height: 40px;
  padding-left: 10px;
}

#main .course dl:nth-of-type(5n) {
  margin-right: 0px;
}

/**********footer***************/
#footer {
  background-color: #282828;
  color: #666;
  height: 229px;
}

/**********回到顶部css***************/
#top1 {
  width: 50px;
  height: 50px;
  background-color: #dddddd;
  position: fixed;
  right: 30px;
  bottom: 100px;
  display: none;
  cursor: pointer;
  box-sizing: border-box;
  border-radius: 5px;
}

#top1 img {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
